package com.hotel.mapper;

import com.hotel.entity.RoomType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 夏智力
 * @FileName RoomTypeMapper
 * @date 2021/6/21 22:16
 * @Software: IntelliJ IDEA
 */
@Mapper
public interface RoomTypeMapper {

    List<RoomType> selectRoomType();

    int addRoomType(RoomType roomType);

    int updateRoomType(RoomType roomType);

    int deleteRoomType(int id);
}
